package com.mp.approvalreq.entity.dto;

import java.util.Objects;

public class RequestCostDTO {
	private String requestIds;
	private String totalCost;
	private Integer requestCount;
	
	public RequestCostDTO() {
	}
	
	public String getRequestIds() {
		return requestIds;
	}
	
	public void setRequestIds(String requestIds) {
		this.requestIds = requestIds;
	}
	
	public String getTotalCost() {
		return totalCost;
	}
	
	public void setTotalCost(String totalCost) {
		this.totalCost = totalCost;
	}
	
	public Integer getRequestCount() {
		return requestCount;
	}
	
	public void setRequestCount(Integer requestCount) {
		this.requestCount = requestCount;
	}
	
	@Override
	public boolean equals(Object o) {
		if (this == o) {
			return true;
		}
		if (o == null || getClass() != o.getClass()) {
			return false;
		}
		RequestCostDTO that = (RequestCostDTO) o;
		return Objects.equals(requestIds, that.requestIds) &&
				Objects.equals(totalCost, that.totalCost) &&
				Objects.equals(requestCount, that.requestCount);
	}
	
	@Override
	public int hashCode() {
		return Objects.hash(requestIds, totalCost, requestCount);
	}
	
	@Override
	public String toString() {
		return "RequestCostDTO{" +
				"requestIds='" + requestIds + '\'' +
				", totalCost='" + totalCost + '\'' +
				", requestCount=" + requestCount +
				'}';
	}
}
